![]() |
GetThemeMenuTitleExtra |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Obtains a measurement of the space to either side of a menu title.
OSStatus GetThemeMenuTitleExtra ( SInt16 *outWidth, Boolean inIsSquished );
A pointer to a signed 16-bit integer. On return, the integer value represents the horizontal distance (in pixels) between the menu title and the bounds of its containing rectangle.
A value of type Boolean. If all the titles do not fit in the menu bar and you wish to condense the menu title’s spacing to fit, pass true. If you pass false, the menu title is not condensed.
A result code.
Once you have determined the height and width of the content of a menu title, call GetThemeMenuTitleExtra to get the space surrounding the menu title in the current theme.
This function is available with Appearance Manager 1.0.1 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)